<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
    <link rel="stylesheet" href="/static/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/global.css">
    <link rel="stylesheet" href="/static/css/main.css">
    <link rel="shortcut icon" type="image/x-icon" href="/static/img/zhandian.ico">
    <script src="/static/lib/layui/layui.js"></script>
</head>
<body>
<div class="main">
    <div th:replace="commons/bar::topbar"></div>
    <div class="leftMenu">
        <!--图标-->
        <div class="log"></div>
        <!--侧边导航-->
        <div class="side-bar">
            <ul class="layui-nav layui-nav-tree layui-nav-side layui-bg-green" lay-filter="demo">
                <li class="layui-nav-item">
                    <a href="main.html" style="" th:href="@{main}">
                        <span class="layui-icon-home layui-icon"></span>
                        首页
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        危险标识
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        组成 / 成分信息
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        急救措施
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        消防措施
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        泄露应急处理
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        操作与存储
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        接触控制人身保护
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        物理和化学特性
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        稳定性和反应性
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        毒理学资料
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        生态学资料
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        废弃处置
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        运输信息
                    </a>
                </li>
                <li class="layui-nav-item left-bar">
                    <a href="javascript:">
                        <span class="layui-icon-list layui-icon"></span>
                        法规信息
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <div class="mainContent">
        <div class="doc-content">
            <div class="page-style" id="Hcode-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            危险性说明编码
                        </button>
                        <button type="button" class="layui-btn HcodeEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <!--填写H开头的编码-->
                <div id="insert-H" style="display: none">
                    <form class="layui-form layui-form-pane" id="addInsertH">
                        <div id="H-content">
                            <div class="layui-form-item">
                                <label class="layui-form-label"><span class="layui-icon layui-icon-close close-btn" title="删除一条"></span>编号1</label>
                                <div class="layui-input-block">
                                    <select name="H[]" lay-search lay-verify="required">
                                        <option value="">请搜索危险性说明编号</option>
                                        <option value="1">H200</option>
                                        <option value="2">H201</option>
                                        <option value="3">H202</option>
                                        <option value="4">H203</option>
                                        <option value="5">H204</option>
                                        <option value="6">H205</option>
                                        <option value="7">无(类别：爆炸物,危险分类：第1.6项)</option>
                                        <option value="8">H220</option>
                                        <option value="9">H220H232</option>
                                        <option value="10">H220H230</option>
                                        <option value="11">H220H231</option>
                                        <option value="12">H221(危险分类：1B,信号词：危险)</option>
                                        <option value="13">H221(危险分类：2,信号词：警告)</option>
                                        <option value="14">H222H229</option>
                                        <option value="15">H223H229</option>
                                        <option value="16">H229</option>
                                        <option value="17">H270</option>
                                        <option value="18">H280(危险分类：压缩气体)</option>
                                        <option value="19">H280(危险分类：液化气体)</option>
                                        <option value="20">H281</option>
                                        <option value="21">H280(危险分类：溶解气体)</option>
                                        <option value="22">H224</option>
                                        <option value="23">H225</option>
                                        <option value="24">H226</option>
                                        <option value="25">H227</option>
                                        <option value="26">H228(危险分类：1,信号词：危险)</option>
                                        <option value="27">H228(危险分类：2,信号词：警告)</option>
                                        <option value="28">H240(危险类别：自反应物质和混合物)</option>
                                        <option value="29">H241(危险类别：自反应物质和混合物)</option>
                                        <option value="30">H242(危险类别：自反应物质和混合物,危险分类：C型和D型,信号词：危险)</option>
                                        <option value="31">H242(危险类别：自反应物质和混合物,危险分类：E型和F型,信号词：警告)</option>
                                        <option value="32">无(危险类别：自反应物质和混合物,危险分类：G型)</option>
                                        <option value="33">H250(危险类别：发火液体)</option>
                                        <option value="34">H250(危险类别：发火固体)</option>
                                        <option value="35">H251</option>
                                        <option value="36">H252</option>
                                        <option value="37">H260</option>
                                        <option value="38">H261(危险分类：2,信号词：危险)</option>
                                        <option value="39">H261(危险分类：3,信号词：警告)</option>
                                        <option value="40">H271(危险类别：氧化性液体)</option>
                                        <option value="41">H272(危险分类：2,信号词：危险)</option>
                                        <option value="42">H272(危险分类：3,信号词：警告)</option>
                                        <option value="43">H271(危险类别：氧化性固体)</option>
                                        <option value="44">H272(危险分类：2,信号词：危险)</option>
                                        <option value="45">H272(危险分类：3,信号词：警告)</option>
                                        <option value="46">H240(危险类别：有机过氧化物)</option>
                                        <option value="47">H241(危险类别：有机过氧化物)</option>
                                        <option value="48">H242(危险类别：有机过氧化物,危险分类：C型和D型,信号词：危险)</option>
                                        <option value="49">H242(危险类别：有机过氧化物,危险分类：E型和F型,信号词：警告)</option>
                                        <option value="50">无(危险类别：有机过氧化物,危险分类：G型)</option>
                                        <option value="51">H290</option>
                                        <option value="52">H206</option>
                                        <option value="53">H207(危险分类：2,信号词：危险)</option>
                                        <option value="54">H207(危险分类：3,信号词：警告)</option>
                                        <option value="55">H208</option>
                                        <option value="56">H300+H310</option>
                                        <option value="57">H300+H330</option>
                                        <option value="58">H310+H330</option>
                                        <option value="59">H300+H310+H330</option>
                                        <option value="60">H301+H311</option>
                                        <option value="61">H301+H331</option>
                                        <option value="62">H311+H331</option>
                                        <option value="63">H301+H311+H331</option>
                                        <option value="64">H302+H312</option>
                                        <option value="65">H302+H332</option>
                                        <option value="66">H312+H332</option>
                                        <option value="67">H302+H312+H332</option>
                                        <option value="68">H303+H313</option>
                                        <option value="69">H303+H333</option>
                                        <option value="70">H313+H333</option>
                                        <option value="71">H303+H313+H333</option>
                                        <option value="72">H315+H320</option>
                                        <option value="73">H314</option>
                                        <option value="74">H315</option>
                                        <option value="75">H316</option>
                                        <option value="76">H318</option>
                                        <option value="77">H319</option>
                                        <option value="78">H320</option>
                                        <option value="79">H334(危险分类：1)</option>
                                        <option value="80">H334(危险分类：1Aa)</option>
                                        <option value="81">H334(危险分类：1Ba)</option>
                                        <option value="82">H317(危险分类：1)</option>
                                        <option value="83">H317(危险分类：1Aa)</option>
                                        <option value="84">H317(危险分类：1Ba)</option>
                                        <option value="85">H340</option>
                                        <option value="86">H341</option>
                                        <option value="87">H350</option>
                                        <option value="88">H351</option>
                                        <option value="89">H360</option>
                                        <option value="90">H361</option>
                                        <option value="91">H362</option>
                                        <option value="92">H370</option>
                                        <option value="93">H371</option>
                                        <option value="94">H335H336</option>
                                        <option value="95">H372</option>
                                        <option value="96">H373</option>
                                        <option value="97">H304</option>
                                        <option value="98">H305</option>
                                        <option value="99">H400</option>
                                        <option value="100">H401</option>
                                        <option value="101">H402</option>
                                        <option value="102">H410</option>
                                        <option value="103">H411</option>
                                        <option value="104">H412</option>
                                        <option value="105">H413</option>
                                        <option value="106">H420</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block" style="float: right">
                                <button type="button" class="layui-btn" lay-submit lay-filter="formDemo-H">提交</button>
                                <button type="button" class="layui-btn formDemo-H-add">添加</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="page-style" id="weixianbiao-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            危险标识
                        </button>
                        <button type="button" class="layui-btn weixianbiaoEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <div id="weixianbiao-view"></div>
                <div id="weixianbiao-Edit" style="display: none;padding: 10px">
                    <form class="layui-form layui-form-pane" lay-filter="weixianbiao">
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">紧急情况概述</label>
                            <div class="layui-input-block">
                                <textarea name="jinjiqing" placeholder="请输入紧急情况概述" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">危害描述：物理和化学危害</label>
                            <div class="layui-input-block">
                                <textarea name="wulihe" class="layui-textarea">无资料</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">健康危害：吸入</label>
                            <div class="layui-input-block">
                                <textarea name="wxiru" placeholder="请输入吸入危害" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">健康危害：食入</label>
                            <div class="layui-input-block">
                                <textarea name="wshiru" placeholder="请输入食入危害" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">健康危害：皮肤接触</label>
                            <div class="layui-input-block">
                                <textarea name="wpifujie" placeholder="请输入食入危害" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">健康危害：眼睛</label>
                            <div class="layui-input-block">
                                <textarea name="yanjing" placeholder="请输入食入危害，每一句请用句号分隔" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">环境危害</label>
                            <div class="layui-input-block">
                                <textarea name="huanjinwei" placeholder="请输入环境危害" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="weixianbiao">确认修改</button>
                            </div>
                        </div>
                    </form>
                </div>
                <script id="weixianbiao-tpl" type="text/html">
                    <div class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>紧急情况概述</h2>
                            <div class="con">
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">紧急情况概述</label>
                                    <div class="layui-input-block">
                                        <textarea  class="layui-textarea" disabled>{{ item.userInsert.jinjiqing || "无资料" }}</textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>GHS危险类别</h2>
                            <div class="con">
                                {{# for(var key in item.GHSweixianxingleibie){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;"> {{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.GHSweixianxingleibie[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>GHS标签要素</h2>
                            <div class="con">
                                {{# if(item.wxbD.xhc.toString().lastIndexOf('警告') !== -1){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">信号词</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="警告" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                                {{# if(item.wxbD.xhc.toString().lastIndexOf('警告') === -1 && item.wxbD.xhc.toString().lastIndexOf('危险') !== -1){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">信号词</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="危险" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                                {{# if(item.wxbD.xhc.toString().lastIndexOf('警告') === -1 && item.wxbD.xhc.toString().lastIndexOf('危险') === -1){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">信号词</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="无信号词" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                                <span style="margin-left: 96px"> 象形图 </span>
                                {{# if(item.wxbD.imgs.length > 0){ }}
                                {{# item.wxbD.imgs.forEach(function(msg,index){ }}
                                <img src="/static{{ msg }}" alt="图片" style="margin-left: 80px" height="92" width="96">
                                {{# }); }}
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>危险性说明</h2>
                            <div class="con">
                                {{# for(var key in item.weixianyingshuo){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">{{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.weixianyingshuo[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>预防措施</h2>
                            <div class="con">
                                {{# for(var key in item.yufangcuoshi){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">{{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.yufangcuoshi[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>事故响应</h2>
                            <div class="con">
                                {{# for(var key in item.shiguxiangying){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 195px;">{{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 195px">
                                        <input type="text" value="{{ item.shiguxiangying[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>安全存储</h2>
                            <div class="con">
                                {{# for(var key in item.anquanchunchu){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">{{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.anquanchunchu[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>废弃处置</h2>
                            <div class="con">
                                {{# for(var key in item.feiqichuzhi){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">{{ key }}</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.feiqichuzhi[key] }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>物理和化学危害</h2>
                            <div class="con">
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">物理和化学危害</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.userInsert.wulihe || '无资料'}}" class="layui-input" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>健康危害</h2>
                            <div class="con">
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">吸入</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.userInsert.wxiru || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">食入</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.userInsert.wshiru || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">皮肤接触</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.userInsert.wpifujie || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 240px;">眼睛</label>
                                    <div class="layui-input-block" style="margin-left: 240px">
                                        <input type="text" value="{{ item.userInsert.yanjing || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">环境危害</label>
                                    <div class="layui-input-block">
                                        <textarea class="layui-textarea" disabled>{{ item.userInsert.huanjinwei || '无资料' }}</textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </div>
                </script>
            </div>
            <div class="page-style" id="chengfenzu-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            组成 / 成分信息
                        </button>
                        <button type="button" class="layui-btn chengfenzuEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <div id="chengfenzu-Edit-view" style="display: none"></div>
                <div id="chengfenzu-view"></div>
                <script id="chengfenzu-tpl" type="text/html">
                    <table class="layui-table">
                        <thead>
                        <tr>
                            <th>组分</th>
                            <th>含量（质量分数,%）</th>
                            <th>CAS No.</th>
                            <th>EC No.</th>
                        </tr>
                        </thead>
                        <tbody>
                        {{# layui.each(d.list,function(index,item){ }}
                        {{# item.zufen.forEach(function(msg,index){ }}
                        <tr>
                            <td>{{ item.zufen[index] }}</td>
                            <td>{{ item.hanl[index] || "-" }}</td>
                            <td>{{ item.CAS[index] || "-" }}</td>
                            <td>{{ item.EC[index] || "-" }}</td>
                        </tr>
                        {{# }); }}
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                        </tbody>
                    </table>
                </script>
                <script id="chengfenzu-tpl-edit" type="text/html">
                    <form class="layui-form layui-form-pane">
                        <table class="layui-table" lay-filter="demo">
                            <thead>
                            <tr>
                                <th>组分</th>
                                <th>含量（质量分数,%）</th>
                                <th>CAS No.</th>
                                <th>EC No.</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody id="tbody">
                            {{# layui.each(d.list,function(index,item){ }}
                            {{# if(JSON.stringify(item) === "{}"){ }}
                            <tr>
                                <td><input type="text" name="zufen[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" name="hanl[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" name="CAS[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" name="EC[]" autocomplete="off" class="layui-input"></td>
                                <td><button type="button" class="layui-btn  layui-btn-xs layui-btn-danger chengfenzu-del" title="删除当前一条">删除</button></td>
                            </tr>
                            {{# }else{ }}
                            {{# item.zufen.forEach(function(msg,index){ }}
                            <tr>
                                <td><input type="text" value="{{ item.zufen[index] }}" name="zufen[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" value="{{ item.hanl[index] || '-' }}" name="hanl[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" value="{{ item.CAS[index] || '-' }}" name="CAS[]" autocomplete="off" class="layui-input"></td>
                                <td><input type="text" value="{{ item.EC[index] || '-' }}" name="EC[]" autocomplete="off" class="layui-input"></td>
                                <td><button type="button" class="layui-btn  layui-btn-xs layui-btn-danger chengfenzu-del" title="删除当前一条">删除</button></td>
                            </tr>
                            {{# }); }}
                            {{# }; }}
                            {{# }); }}
                            {{#  if(d.list.length === 0){ }}
                            {{#  } }}
                            </tbody>
                        </table>
                        <div class="layui-form-item" style="margin: 10px 200px">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="chengfenzu">确认修改</button>
                                <button type="button" class="layui-btn layui-btn-primary addItem">添加</button>
                            </div>
                        </div>
                    </form>
                </script>
            </div>
            <div class="page-style" id="jijiucuoshi">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            急救措施
                        </button>
                        <button type="button" class="layui-btn jiJiuEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="jiJiuCuoShi-edit-view" style="display: none;padding: 10px"></div>
                <div id="jiJiuCuoShi-view"></div>
                <script type="text/html" id="jiJiuCuoShi-tpl">
                    <div class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>急救措施描述</h2>
                            <div class="con">

                                <div class="layui-form-item">
                                    <label class="layui-form-label">一般性建议</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.yibanxing.yibanxing || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">眼睛接触</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.yanjinjie.yanjinjie || '无资料'  }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">皮肤接触</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.pifujie.pifujie || '无资料'  }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">食入</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.eat.eat || '无资料'  }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">吸入</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.suction.suction || '无资料'  }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 140px">急救人员的防护</label>
                                    <div class="layui-input-block" style="margin-left: 140px">
                                        <input type="text" value="{{ item.jijiuren.jijiuren || '无资料'  }}" class="layui-input" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>最重要的症状和影响，急性的和滞后的</h2>
                            <div class="con">
                                {{# if( item.zuizhongyao.length > 0 ){ }}
                                {{# item.zuizhongyao.forEach(function(item,index){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>紧急医疗处理和特殊处理说明</h2>
                            <div class="con">
                                {{# if(item.jinjiyi.length > 0){ }}
                                {{# item.jinjiyi.forEach(function(item,index){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }); }}
                                {{# }else { }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        {{# }); }}
                        {{# if(d.list.length === 0){ }}
                        {{# }; }}
                    </div>
                </script>
                <script type="text/html" id="jiJiuCuoShi-add-edit">
                    <form class="layui-form layui-form-pane" lay-filter="jiJiuCuoShi">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item">
                            <label class="layui-form-label">一般性建议</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yibanxing.yibanxing || '无资料' }}" name="yibanxing" placeholder="请输入一般性建议"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">眼睛接触</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yanjinjie.yanjinjie || '无资料' }}" name="yanjinjie" placeholder="请输入眼睛接触措施"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">皮肤接触</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.pifujie.pifujie || '无资料' }}" name="pifujie" placeholder="请输入皮肤接触措施"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">食入</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.eat.eat || '无资料' }}" name="eat" placeholder="请输入食入措施"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">吸入</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.suction.suction || '无资料' }}" name="suction" placeholder="请输入吸入措施"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label" style="width: 140px">急救人员的防护</label>
                            <div class="layui-input-block" style="margin-left: 140px">
                                <input type="text" value="{{ item.jijiuren.jijiuren || '无资料' }}" name="jijiuren" placeholder="请输急救人员的防护"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">最重要的症状和影响，急性的和滞后的</label>
                            <div class="layui-input-block">
                                <textarea name="zuizhongyao" placeholder="请输入最重要的症状和影响，急性的和滞后的,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.zuizhongyao.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">紧急医疗处理和特殊处理说明</label>
                            <div class="layui-input-block">
                                <textarea name="jinjiyi" placeholder="请输入紧急医疗处理和特殊处理说明,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.jinjiyi.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="jiJiuCuoShi">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{# if(d.list.length === 0){ }}
                        {{# }; }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="xiaofangcuoshi">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            消防措施
                        </button>
                        <button type="button" class="layui-btn xiaoFangEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="xiaofang-view"></div>
                <div id="xiaofang-view-edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="xiaoFangTpl">
                    <div class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>灭火介质</h2>
                            <div class="con">
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 140px">合适的灭火介质</label>
                                    <div class="layui-input-block" style="margin-left: 140px">
                                        <input type="text" value="{{ item.heshi.heshi || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label" style="width: 150px">不合适的灭火介质</label>
                                    <div class="layui-input-block" style="margin-left: 150px">
                                        <input type="text" value="{{ item.buheshi.buheshi || '无资料' }}" class="layui-input" disabled>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>源于此物质或混合物的特别危害</h2>
                            <div class="con">
                                {{# if(item.yuanyuci.length > 0){ }}
                                {{# item.yuanyuci.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                                {{# }); }}
                                {{# }else { }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>对消防人员的建议</h2>
                            <div class="con">
                                {{# if(item.duixiaofang.length > 0){ }}
                                {{# item.duixiaofang.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                                {{# }); }}
                                {{# }else { }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                            </div>
                        </div>
                        {{# }); }}
                        {{# if(d.list.length === 0){ }}
                        {{# }; }}
                    </div>
                </script>
                <script type="text/html" id="xiaoFang-add-edit" >
                    <form class="layui-form layui-form-pane" lay-filter="xiaoFang">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item">
                            <label class="layui-form-label">合适</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.heshi.heshi || '无资料' }}" name="heshi" lay-verify="required" placeholder="请输入合适的灭火介质"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">不合适</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.buheshi.buheshi || '无资料' }}" name="buheshi" lay-verify="required" placeholder="请输入不合适的灭火介质"
                                       autocomplete="off" class="layui-input tip-input">
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">源于此物质或混合物的特别危害</label>
                            <div class="layui-input-block">
                                <textarea name="yuanyuci" placeholder="源于此物质或混合物的特别危害,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.yuanyuci.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">对消防人员的建议</label>
                            <div class="layui-input-block">
                                <textarea name="duixiaofang" placeholder="对消防人员的建议,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.duixiaofang.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="xiaoFang">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{# if(d.list.length === 0){ }}
                        {{# }; }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="xielouyingji">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            泄露应急处理
                        </button>
                        <button type="button" class="layui-btn xieLouEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <script type="text/html" id="xieLou-add-edit">
                    <form class="layui-form layui-form-pane" lay-filter="xieLou">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">作业消防人员防护措施，防护设备和紧急处理程序</label>
                            <div class="layui-input-block">
                                <textarea name="zuoyexiao" placeholder="作业消防人员防护措施，防护设备和紧急处理程序,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.zuoyexiao.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">环境保护措施</label>
                            <div class="layui-input-block">
                                <textarea name="huanjinbao" placeholder="环境保护措施，每一句请用句号分隔" class="layui-textarea tip-input">{{ item.huanjinbao.join("。") || '无资料'  }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">泄露化学品的收容，清除方法及所使用的处置材料</label>
                            <div class="layui-input-block">
                                <textarea name="xielouhua" placeholder="泄露化学品的收容，清除方法及所使用的处置材料，每一句请用句号分隔" class="layui-textarea tip-input">{{ item.xielouhua.join("。") || '无资料'  }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="xielou">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <div id="xielou-view"></div>
                <div id="xielou-view-edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="xielou-tpl">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>作业消防人员防护措施，防护设备和紧急处理程序</h2>
                            <div class="con">
                                {{# if(item.zuoyexiao.length>0){ }}
                                {{# item.zuoyexiao.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>环境保护措施</h2>
                            <div class="con">
                                {{# if(item.huanjinbao.length>0){ }}
                                {{# item.huanjinbao.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>泄露化学品的收容，清除方法及所使用的处置材料</h2>
                            <div class="con">
                                {{# if(item.xielouhua.length > 0){ }}
                                {{# item.xielouhua.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="caozhuoyucunchu">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            操作与存储
                        </button>
                        <button type="button" class="layui-btn caoZuoEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <div id="caoZuo-view-edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="caoZuo-add-edit">
                    <form class="layui-form layui-form-pane" lay-filter="caoZuo">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">操作注意事项</label>
                            <div class="layui-input-block">
                                <textarea name="caozuozhu" placeholder="操作注意事项<,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.caozuozhu.join("。") || '无资料' }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">存储注意事项</label>
                            <div class="layui-input-block">
                                <textarea name="cunchuzhu" placeholder="存储注意事项，每一句请用句号分隔" class="layui-textarea tip-input">{{ item.cunchuzhu.join("。") || '无资料'  }}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="caozuo">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <div id="caoZuo-view"></div>
                <script type="text/html" id="caoZuo-tpl">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>操作注意事项</h2>
                            <div class="con">
                                {{# if(item.caozuozhu.length > 0){ }}
                                {{# item.caozuozhu.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input" disabled>
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>存储注意事项</h2>
                            <div class="con">
                                {{# if(item.cunchuzhu.length>0){ }}
                                {{# item.cunchuzhu.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="无资料" class="layui-input"  disabled>
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="jiechukongzhi">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            接触控制人身保护
                        </button>
                        <button type="button" class="layui-btn jiecukongEdit">
                            <i class="layui-icon layui-icon-edit"></i>修改
                        </button>
                    </div>
                </h1>
                <div id="jiecukong-view"></div>
                <div id="jiecukong-view-edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="jiecukong-add-edit">
                    <form class="layui-form layui-form-pane" lay-filter="jiecukong">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">
                                职业接触限值
                                <span class="layui-icon layui-icon-add-circle zhiye-addItem" style="color: #009587;margin-left: 20px;" title="职业接触限值添加">添加</span>
                            </label>
                            {{# if(typeof item.zhiyejie === 'object'){ }}
                            {{# if(item.zhiyejie.Jzufen.length>0 ){ }}
                            <table border="1" cellspacing="0" style="text-align: center;width: 100%">
                                <thead>
                                <tr>
                                    <th width="130px">组分</th>
                                    <th width="130px">标准来源</th>
                                    <th width="130px">类型</th>
                                    <th>标准值</th>
                                    <th width="130px">备注</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody class="zhiye-body">
                                {{# item.zhiyejie.Jzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td>
                                        <input type="text" value="{{ msg }}" name="Jzufen[]" autocomplete="off" class="layui-input">
                                    </td>
                                    <td>
                                        <input type="text" value="{{ item.zhiyejie.biaozhunlai[index] }}" name="biaozhunlai[]" autocomplete="off" class="layui-input">
                                    </td>
                                    <td colspan="2">
                                        <table border="1" cellspacing="0" width="100%">
                                            <tbody>
                                            <tr>
                                                <td width="130px">
                                                    <input type="text" value="{{ item.zhiyejie.leixin[index*2] }}" name="leixin[]" autocomplete="off" class="layui-input">
                                                </td>
                                                <td>
                                                    <input type="text" value="{{ item.zhiyejie.biaozhunzhi[index*2] }}" name="biaozhunzhi[]" autocomplete="off" class="layui-input">

                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <input type="text" value="{{ item.zhiyejie.leixin[index*2+1] }}" name="leixin[]" autocomplete="off" class="layui-input">
                                                </td>
                                                <td>
                                                    <input type="text" value="{{ item.zhiyejie.biaozhunzhi[index*2+1] }}" name="biaozhunzhi[]" autocomplete="off" class="layui-input">
                                                </td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                    <td>
                                        <input type="text" value="{{ item.zhiyejie.beizhu[index] }}" name="beizhu[]" autocomplete="off" class="layui-input">
                                    </td>
                                    <td>
                                        <button type="button" class="layui-btn layui-btn-xs layui-btn-danger zhiye-del">删除</button>
                                    </td>
                                </tr>
                                {{# }); }}
                                </tbody>
                            </table>
                            {{# }else{ }}
                            <table border="1" cellspacing="0" style="text-align: center;width: 100%">
                                <thead>
                                <tr>
                                    <th width="130px">组分</th>
                                    <th width="130px">标准来源</th>
                                    <th width="130px">类型</th>
                                    <th>标准值</th>
                                    <th width="130px">备注</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody class="zhiye-body"></tbody>
                            </table>
                            {{# }; }}
                            {{# }else{ }}
                            <div class="layui-input-block">
                                <textarea disabled class="layui-textarea">{{ item.zhiyejie }}</textarea>
                            </div>
                            {{# }; }}
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生物限值</label>
                            <div class="layui-input-block">
                                <textarea name="shengwuxian" placeholder="请输入生物限值" class="layui-textarea">{{ item.puto.shengwuxian}}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">监测方法</label>
                            <div class="layui-input-block">
                                <textarea name="jiancefang" placeholder="请输入监测方法,每一句请用句号分隔" class="layui-textarea tip-input">{{ item.puto.jiancefang}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">工程控制</label>
                            <div class="layui-input-block">
                                <textarea name="gongchengkong" placeholder="请输入工程控制，每一句请用句号分隔" class="layui-textarea tip-input">{{ item.puto.gongchengkong}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">眼睛防护</label>
                            <div class="layui-input-block">
                                <textarea name="yanjingfang" placeholder="请输入眼睛防护装备" class="layui-textarea tip-input">{{ item.puto.yanjingfang}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">手部防护</label>
                            <div class="layui-input-block">
                                <textarea name="shoubufang" placeholder="请输入手部防护装备" class="layui-textarea tip-input">{{ item.puto.shoubufang}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">呼吸系统防护</label>
                            <div class="layui-input-block">
                                <textarea name="huxixi" placeholder="请输入呼吸系统防护装备" class="layui-textarea tip-input">{{ item.puto.huxixi}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">皮肤和身体防护</label>
                            <div class="layui-input-block">
                                <textarea name="pihuhe" placeholder="请输入皮肤和身体防护装备" class="layui-textarea tip-input">{{ item.puto.pifuhe}}</textarea>
                            </div>
                            <div class="tip-content"></div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="jiechukong">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script type="text/html" id="jiecukong-tpl">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="g-s">
                            <h2>职业接触限值</h2>
                            <div class="con">
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">职业接触限值</label>
                                    {{# if(typeof item.zhiyejie === 'object'){ }}
                                    <table border="1" cellspacing="0" style="text-align: center;width: 100%">
                                        <thead>
                                        <tr>
                                            <th width="130px">组分</th>
                                            <th width="130px">标准来源</th>
                                            <th width="130px">类型</th>
                                            <th>标准值</th>
                                            <th width="130px">备注</th>
                                        </tr>
                                        </thead>
                                        <tbody>
                                        {{# item.zhiyejie.Jzufen.forEach(function(msg,index){ }}
                                        <tr>
                                            <td>
                                                {{ msg }}
                                            </td>
                                            <td>
                                                {{ item.zhiyejie.biaozhunlai[index] }}
                                            </td>
                                            <td colspan="2">
                                                <table border="1" cellspacing="0" width="100%">
                                                    <tbody>
                                                    <tr>
                                                        <td width="130px">
                                                            {{ item.zhiyejie.leixin[index*2] }}
                                                        </td>
                                                        <td>
                                                            {{ item.zhiyejie.biaozhunzhi[index*2] }}
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            {{ item.zhiyejie.leixin[index*2+1] }}
                                                        </td>
                                                        <td>
                                                            {{ item.zhiyejie.biaozhunzhi[index*2+1] }}
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                            <td>
                                                {{ item.zhiyejie.beizhu[index] }}
                                            </td>
                                        </tr>
                                        {{# }); }}
                                        </tbody>
                                    </table>
                                    {{# }else{ }}
                                    <div class="layui-input-block">
                                        <textarea disabled class="layui-textarea">{{ item.zhiyejie }}</textarea>
                                    </div>
                                    {{# }; }}
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>生物限值</h2>
                            <div class="con">
                                <div class="layui-form-item layui-form-text">
                                    <label class="layui-form-label">生物限值</label>
                                    <div class="layui-input-block">
                                        <textarea disabled class="layui-textarea">{{ item.puto.shengwuxian || '无资料'  }}</textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>监测方法</h2>
                            <div class="con">
                                {{# if(item.jiancefang.length>0){ }}
                                {{# item.jiancefang.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" disabled value="{{ item }}" class="layui-input">
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" disabled value="无资料" class="layui-input">
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>工程控制</h2>
                            <div class="con">
                                {{# if(item.gongchengkong.length>0){ }}
                                {{# item.gongchengkong.forEach(function(item,index){ }}
                                {{# if(item){ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">{{ index+1 }}</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item }}" disabled class="layui-input">
                                    </div>
                                </div>
                                {{# } }}
                                {{# }); }}
                                {{# }else{ }}
                                <div class="layui-form-item">
                                    <label class="layui-form-label">1</label>
                                    <div class="layui-input-block">
                                        <input type="text" disabled value="无资料" class="layui-input">
                                    </div>
                                </div>
                                {{# }; }}
                            </div>
                        </div>
                        <div class="g-s">
                            <h2>个人防护装备</h2>
                            <div class="con">
                                <div class="layui-form-item">
                                    <label class="layui-form-label">眼睛防护</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.puto.yanjingfang || '无资料' }}" disabled class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">手部防护</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.puto.shoubufang || '无资料' }}" disabled class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">呼吸系统防护</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.puto.huxixi || '无资料' }}" disabled class="layui-input">
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">皮肤和身体防护</label>
                                    <div class="layui-input-block">
                                        <input type="text" value="{{ item.puto.pifuhe || '无资料' }}" disabled class="layui-input">
                                    </div>
                                </div>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="wuhuate-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            物理和化学特性
                        </button>
                        <button type="button" class="layui-btn wuhuateEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="wuhuate-view"></div>
                <div id="wuhuate-view-edit"  style="display: none;padding: 10px"></div>
                <script type="text/html" id="wuhuate-edit">
                    <form class="layui-form layui-form-pane" lay-filter="wuhuate">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item">
                            <label class="layui-form-label">外观与形状</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.waiguanyu.waiguanyu || '无资料' }}"  name="waiguanyu" lay-verify="required" placeholder="请输入外观与形状"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">气味阀值</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.qiweifa.qiweifa || '无资料' }}" name="qiweifa" lay-verify="required" placeholder="请输入气味阀值"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">熔点/凝固点(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.rongdianning.rongdianning || '无资料' }}" name="rongdianning" lay-verify="required" placeholder="请输入熔点/凝固点(℃)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">闪点(℃)(闭环)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.shandianbi.shandianbi || '无资料' }}" name="shandianbi" lay-verify="required" placeholder="请输入闪点(℃)(闭环)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">易燃性</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yiranxing.yiranxing || '无资料' }}" name="yiranxing" lay-verify="required" placeholder="请输入易燃性"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">蒸汽压力(MPa)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengqiya.zhengqiya || '无资料' }}" name="zhengqiya" lay-verify="required" placeholder="请输入蒸汽压力(MPa)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">相对密度(水=1)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.xiangduimi.xiangduimi || '无资料' }}" name="xiangduimi" lay-verify="required" placeholder="请输入相对密度(水=1)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">正幸醇/水分配</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengxincun.zhengxincun || '无资料' }}" name="zhengxincun" lay-verify="required" placeholder="请输入相对密度(水=1)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">分解温度(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.fenjiewen.fenjiewen || '无资料' }}" name="fenjiewen" lay-verify="required" placeholder="请输入分解温度(℃)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">气味</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.qiwei.qiwei || '无资料' }}" name="qiwei" lay-verify="required" placeholder="请输入气味"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">PH值</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.phzhi.phzhi || '无资料' }}" name="phzhi" lay-verify="required" placeholder="请输入PH值"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">初始沸点和沸腾范围(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.chushifei.chushifei || '无资料' }}" name="chushifei" lay-verify="required" placeholder="请输入初始沸点和沸腾范围(℃)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">蒸发速率</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengfasu.zhengfasu || '无资料' }}" name="zhengfasu" lay-verify="required" placeholder="请输入蒸发速率"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">爆炸上限/下限[%(v/v)]</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.baozashang.baozashang || '无资料' }}" name="baozashang" lay-verify="required" placeholder="请输入爆炸上限/下限[%(v/v)]，注意请用句号（。）分隔"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">相对蒸汽密度(空气=1)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.xiangduizheng.xiangduizheng || '无资料' }}" name="xiangduizheng" lay-verify="required" placeholder="请输入相对蒸汽密度(空气=1)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">可溶性</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.kerongxing.kerongxing || '无资料' }}" name="kerongxing" lay-verify="required" placeholder="请输入可溶性"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">自燃温度(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.ziranwen.ziranwen || '无资料' }}" name="ziranwen" lay-verify="required" placeholder="请输入自燃温度(℃)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">运动粘度(mm²/s)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yundongnian.yundongnian || '无资料' }}" name="yundongnian" lay-verify="required" placeholder="请输入运动粘度(mm²/s)"
                                       autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="wuhuate">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script id="wuhuate-tpl" type="text/html">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item">
                            <label class="layui-form-label">外观与形状</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.waiguanyu.waiguanyu || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">气味阀值</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.qiweifa.qiweifa || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">熔点/凝固点(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.rongdianning.rongdianning || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">闪点(℃)(闭环)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.shandianbi.shandianbi || '无资料' }}" disabled class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">易燃性</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yiranxing.yiranxing || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">蒸汽压力(MPa)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengqiya.zhengqiya || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">相对密度(水=1)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.xiangduimi.xiangduimi || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">正幸醇/水分配</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengxincun.zhengxincun || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">分解温度(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.fenjiewen.fenjiewen || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">气味</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.qiwei.qiwei || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">PH值</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.phzhi.phzhi || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">初始沸点和沸腾范围(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.chushifei.chushifei || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">蒸发速率</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.zhengfasu.zhengfasu || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">爆炸上限/下限[%(v/v)]</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.baozashang.baozashang || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">相对蒸汽密度(空气=1)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.xiangduizheng.xiangduizheng || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">可溶性</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.kerongxing.kerongxing || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">自燃温度(℃)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.ziranwen.ziranwen || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">运动粘度(mm²/s)</label>
                            <div class="layui-input-block">
                                <input type="text" value="{{ item.yundongnian.yundongnian || '无资料' }}" class="layui-input" disabled>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="wendingxing-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            稳定性和反应性
                        </button>
                        <button type="button" class="layui-btn wendingxingEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="wendingxing-view"></div>
                <div id="wendingxing-view-edit" style="display: none;padding: 10px"></div>
                <script id="wendingxing-Edit" type="text/html">
                    <form class="layui-form layui-form-pane" lay-filter="wendingxing">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">反应性</label>
                            <div class="layui-input-block">
                                <textarea name="fanyingxing" placeholder="请输入反应性" class="layui-textarea">{{ item.fanyingxing.fanyingxing || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">化学稳定性</label>
                            <div class="layui-input-block">
                                <textarea name="huaxuewen" placeholder="请输入化学稳定性" class="layui-textarea">{{ item.huaxuewen.huaxuewen || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">危险反应的可能性</label>
                            <div class="layui-input-block">
                                <textarea name="weixianfan" placeholder="请输入危险反应的可能性" class="layui-textarea">{{ item.weixianfan.weixianfan || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">应避免的条件</label>
                            <div class="layui-input-block">
                                <textarea name="yingbimian" placeholder="请输入应避免的条件" class="layui-textarea">{{ item.yingbimian.yingbimian || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">不相容材料</label>
                            <div class="layui-input-block">
                                <textarea name="buxiangrong" placeholder="请输入不相容材料" class="layui-textarea">{{ item.buxiangrong.buxiangrong || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">危险的分产物</label>
                            <div class="layui-input-block">
                                <textarea name="weixiande" placeholder="请输入危险的分产物" class="layui-textarea">{{ item.weixiande.weixiande || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="wendingxing">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script id="wendingxing-tpl" type="text/html">
                    <form class="layui-form layui-form-pane" lay-filter="wendingxing">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">反应性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.fanyingxing.fanyingxing || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">化学稳定性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.huaxuewen.huaxuewen || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">危险反应的可能性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.weixianfan.weixianfan || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">应避免的条件</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.yingbimian.yingbimian || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">不相容材料</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.buxiangrong.buxiangrong || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">危险的分产物</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.weixiande.weixiande || '无资料' }}</textarea>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="dulixue-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            毒理学资料
                        </button>
                        <button type="button" class="layui-btn dulixueEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="dulixue-view"></div>
                <script type="text/html" id="dulixue-edit">
                    {{# layui.each(d.list,function(index, item){ }}
                    <form class="layui-form layui-form-pane">
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">
                                急性毒性
                                <span class="layui-icon layui-icon-add-circle duli-addItem" style="color: #009587;margin-left: 20px;" title="急性毒性添加">添加</span>
                            </label>
                            <table class="layui-table" lay-filter="demo">
                                <thead>
                                <tr>
                                    <th>组分</th>
                                    <th>CAS No.</th>
                                    <th>LD<SUB>50</SUB>(径口)</th>
                                    <th>LD<SUB>50</SUB>(径皮)</th>
                                    <th>LC<SUB>50</SUB>(吸入，4h)</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody id="duli-tbody">
                                {{# if(item.jixingdu.jzufen.length >0){ }}
                                {{# item.jixingdu.jzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td><input type="text" value="{{ msg }}" name="jzufen[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.jixingdu.jcas[index] }}" name="jcas[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.jixingdu.jinkou[index] }}" name="jinkou[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.jixingdu.jinpi[index] }}" name="jinpi[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.jixingdu.lc[index] }}" name="lc[]" autocomplete="off" class="layui-input"></td>
                                    <td><button type="button" class="layui-btn  layui-btn-xs layui-btn-danger jixindu-del" title="删除当前一条">删除</button></td>
                                </tr>
                                {{# }); }}
                                {{# }else{ }}
                                <tr>
                                    <td><input type="text" name="jzufen[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="jcas[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="jinkou[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="jinpi[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="lc[]" autocomplete="off" class="layui-input"></td>
                                    <td><button type="button" class="layui-btn  layui-btn-xs layui-btn-danger jixindu-del" title="删除当前一条">删除</button></td>
                                </tr>
                                {{# }; }}
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">皮肤腐蚀/刺激</label>
                            <div class="layui-input-block">
                                <textarea name="pifufu" placeholder="请输入，皮肤腐蚀/刺激" class="layui-textarea">{{ item.other.pifufu }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">严重眼损伤/刺激</label>
                            <div class="layui-input-block">
                                <textarea name="yanzhongyan" placeholder="请输入，严重眼损伤/刺激" class="layui-textarea">{{ item.other.yanzhongyan }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">皮肤致敏</label>
                            <div class="layui-input-block">
                                <textarea name="pifuzhi" placeholder="请输入，皮肤致敏" class="layui-textarea">{{ item.other.pifuzhi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">呼吸致敏</label>
                            <div class="layui-input-block">
                                <textarea name="huxizhi" placeholder="请输入，呼吸致敏" class="layui-textarea">{{ item.other.huxizhi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖细胞致突变性</label>
                            <div class="layui-input-block">
                                <textarea name="shengzhixi" placeholder="请输入，生殖细胞致突变性" class="layui-textarea">{{ item.other.shengzhixi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">致癌性</label>
                            <table class="layui-table" lay-filter="demo">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>CAS No.</th>
                                    <th>组分</th>
                                    <th>IARC</th>
                                    <th>NTP</th>
                                </tr>
                                </thead>
                                <tbody>
                                {{# if(item.zhiaixing.iarc.length>0){ }}
                                {{# item.zhiaixing.zzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td width="30px" style="text-align: center">{{ index+1 }}</td>
                                    <td><input type="text" value="{{ item.zhiaixing.zcas[index] }}" name="zcas[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ msg }}" name="zzufen[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.zhiaixing.iarc[index] || '未列入' }}" name="iarc[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ item.zhiaixing.ntp[index] || '未列入' }}" name="ntp[]" autocomplete="off" class="layui-input"></td>
                                </tr>
                                {{# }); }}
                                {{# }else{ }}
                                {{# item.zhiaixing.zzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td width="30px" style="text-align: center">{{ index+1 }}</td>
                                    <td><input type="text" value="{{ item.zhiaixing.zcas[index] }}" name="zcas[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" value="{{ msg }}" name="zzufen[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="iarc[]" autocomplete="off" class="layui-input"></td>
                                    <td><input type="text" name="ntp[]" autocomplete="off" class="layui-input"></td>
                                </tr>
                                {{# }); }}
                                {{# }; }}

                                </tbody>
                            </table>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖毒性</label>
                            <div class="layui-input-block">
                                <textarea name="shengzhidu" placeholder="请输入，生殖毒性" class="layui-textarea">{{ item.other.shengzhidu }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖毒性附加危害</label>
                            <div class="layui-input-block">
                                <textarea name="fujiawei" placeholder="请输入，生殖毒性附加危害" class="layui-textarea">{{ item.other.fujiawei }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">特异性靶器官系统毒性-单次接触</label>
                            <div class="layui-input-block">
                                <textarea name="dancijie" placeholder="请输入，特异性靶器官系统毒性-单次接触" class="layui-textarea">{{ item.other.dancijie }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">特异性靶器官系统毒性-反复接触</label>
                            <div class="layui-input-block">
                                <textarea name="fanfujie" placeholder="请输入，特异性靶器官系统毒性-反复接触" class="layui-textarea">{{ item.other.fanfujie }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">吸入危害</label>
                            <div class="layui-input-block">
                                <textarea name="xiruwei" placeholder="请输入，吸入危害" class="layui-textarea">{{ item.other.xiruwei }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="dulixue">立即提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </form>
                    {{# }); }}
                </script>
                <div id="dulixue-view-Edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="dulixue-tpl">
                    {{# layui.each(d.list,function(index, item){ }}
                    <form class="layui-form layui-form-pane">
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">急性毒性</label>
                            <table class="layui-table" lay-filter="demo">
                                <thead>
                                <tr>
                                    <th>组分</th>
                                    <th>CAS No.</th>
                                    <th>LD<SUB>50</SUB>(径口)</th>
                                    <th>LD<SUB>50</SUB>(径皮)</th>
                                    <th>LC<SUB>50</SUB>(吸入，4h)</th>
                                </tr>
                                </thead>
                                <tbody>
                                {{# item.jixingdu.jzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td>{{ msg }}</td>
                                    <td>{{ item.jixingdu.jcas[index] }}</td>
                                    <td>{{ item.jixingdu.jinkou[index] }}</td>
                                    <td>{{ item.jixingdu.jinpi[index] }}</td>
                                    <td>{{ item.jixingdu.lc[index] }}</td>
                                </tr>
                                {{# }); }}
                                </tbody>
                            </table>

                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">皮肤腐蚀/刺激</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.pifufu }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">严重眼损伤/刺激</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.yanzhongyan }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">皮肤致敏</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.pifuzhi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">呼吸致敏</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.huxizhi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖细胞致突变性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.shengzhixi }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">致癌性</label>
                            <table class="layui-table" lay-filter="demo">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>CAS No.</th>
                                    <th>组分</th>
                                    <th>IARC</th>
                                    <th>NTP</th>
                                </tr>
                                </thead>
                                <tbody>
                                {{# item.zhiaixing.zzufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td width="30px" style="text-align: center">{{ index+1 }}</td>
                                    <td>{{ item.zhiaixing.zcas[index] }}</td>
                                    <td>{{ item.zhiaixing.zzufen[index] }}</td>
                                    <td>{{ item.zhiaixing.iarc[index] || '未列入' }}</td>
                                    <td>{{ item.zhiaixing.ntp[index] || '未列入' }}</td>
                                </tr>
                                {{# }); }}
                                </tbody>
                            </table>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖毒性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.shengzhidu }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生殖毒性附加危害</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.fujiawei }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">特异性靶器官系统毒性-单次接触</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.dancijie }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">特异性靶器官系统毒性-反复接触</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.fanfujie }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">吸入危害</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.other.xiruwei }}</textarea>
                            </div>
                        </div>
                    </form>
                    {{# }); }}
                    {{#  if(d.list.length === 0){ }}
                    {{#  } }}
                </script>
            </div>
            <div class="page-style" id="shengtaixue-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            生态学资料
                        </button>
                        <button type="button" class="layui-btn shengtaixueEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="shengtaixue-view"></div>
                <div id="shengtaixue-view-edit" style="display: none;padding: 10px;"></div>
                <script type="text/html" id="shengtaixue-edit" >
                    <form class="layui-form layui-form-pane" lay-filter="shengtaixue">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">急性水生毒性</label>
                            <div class="layui-input-block">
                                <textarea name="jixingshui" placeholder="请输入急性水生毒性" class="layui-textarea">{{ item.jixingshui.jixingshui || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">慢性水生毒性</label>
                            <div class="layui-input-block">
                                <textarea name="manxingshui" placeholder="请输入慢性水生毒性" class="layui-textarea">{{ item.manxingshui.manxingshui || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">持久性和降解性</label>
                            <div class="layui-input-block">
                                <textarea name="chijiuxing" placeholder="请输入持久性和降解性" class="layui-textarea">{{ item.chijiuxing.chijiuxing || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生物富集或生物积累性</label>
                            <div class="layui-input-block">
                                <textarea name="shengwufu" placeholder="请输入生物富集或生物积累性" class="layui-textarea">{{ item.shengwufu.shengwufu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">土壤中的迁移性</label>
                            <div class="layui-input-block">
                                <textarea name="turangzhong" placeholder="请输入土壤中的迁移性" class="layui-textarea">{{ item.turangzhong.turangzhong || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">PBT和vPvB的结果评价</label>
                            <div class="layui-input-block">
                                <textarea name="pbt" placeholder="请输入PBT和vPvB的结果评价" class="layui-textarea">{{ item.pbt.pbt || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="shengtaixue">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script type="text/html" id="shengtaixue-tpl">
                    <form class="layui-form layui-form-pane" lay-filter="shengtaixue">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">急性水生毒性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.jixingshui.jixingshui || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">慢性水生毒性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.manxingshui.manxingshui || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">持久性和降解性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.chijiuxing.chijiuxing || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">生物富集或生物积累性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.shengwufu.shengwufu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">土壤中的迁移性</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.turangzhong.turangzhong || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">PBT和vPvB的结果评价</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.pbt.pbt || '无资料' }}</textarea>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="feiqichu-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            废弃处置
                        </button>
                        <button type="button" class="layui-btn feiqichuEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="feiqichu-view"></div>
                <div id="feiqichu-view-edit" style="display: none;padding: 10px"></div>
                <script type="text/html" id="feiqichu-edit" >
                    <form class="layui-form layui-form-pane" lay-filter="feiqichu">
                        {{# layui.each(d.list,function(index,item){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">废弃化学品</label>
                            <div class="layui-input-block">
                                <textarea name="feiqihua" placeholder="请输入废弃化学品" class="layui-textarea">{{ item.feiqihua.feiqihua || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">污染包装物</label>
                            <div class="layui-input-block">
                                <textarea name="wuranbao" placeholder="请输入污染包装物" class="layui-textarea">{{ item.wuranbao.wuranbao || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">废弃注意事项</label>
                            <div class="layui-input-block">
                                <textarea name="feiqizhu" placeholder="请输入废弃注意事项" class="layui-textarea">{{ item.feiqizhu.feiqizhu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="feiqichu">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script type="text/html" id="feiqichu-tpl">
                    {{# layui.each(d.list,function(index,item){ }}
                    <form class="layui-form layui-form-pane" lay-filter="feiqichu">
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">废弃化学品</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.feiqihua.feiqihua || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">污染包装物</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.wuranbao.wuranbao || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">废弃注意事项</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.feiqizhu.feiqizhu || '无资料' }}</textarea>
                            </div>
                        </div>
                    </form>
                    {{# }); }}
                    {{#  if(d.list.length === 0){ }}
                    {{#  } }}
                </script>
            </div>
            <div class="page-style" id="yunshuxin-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            运输信息
                        </button>
                        <button type="button" class="layui-btn yunshuxinEdit">
                            <i class="layui-icon layui-icon-edit"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="yunshuxin-view"></div>
                <div id="yunshuxin-add-view" style="display: none;padding: 10px"></div>
                <script type="text/html" id="yunshuxin-add-tpl">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index, item){ }}
                        {{# if(item.ysbqD.imgs.length ===0){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输标签和标记</label>
                            <div class="layui-input-block">
                                <input type="text" name="yunshubiao" value="无要求" class="layui-input">
                            </div>
                        </div>
                        {{# }else{ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输标签和标记</label>
                            <div class="layui-input-block">
                                <input type="hidden" name="yunshubiao" value="运输标识" class="layui-input" >
                                {{# item.ysbqD.imgs.forEach(function(msg,index){ }}
                                <img src="/static{{ msg }}" alt="" height="92" width="96">
                                {{# }); }}
                            </div>
                        </div>
                        {{# }; }}

                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">海洋污染物</label>
                            <div class="layui-input-block">
                                <textarea name="haiyangwu" placeholder="请输入，海洋污染物" class="layui-textarea">{{ item.haiyangwu.haiyangwu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">联合国危险货物编号(UN No.)</label>
                            <div class="layui-input-block">
                                <textarea name="bianhao" placeholder="请输入，联合国危险货物编号(UN No.)" class="layui-textarea">{{ item.bianhao.bianhao || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">联合国正确运输名称</label>
                            <div class="layui-input-block">
                                <textarea name="name" placeholder="请输入，联合国正确运输名称" class="layui-textarea">{{ item.name.name || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输主要危险类别</label>
                            <div class="layui-input-block">
                                <textarea name="yunshuzhu" placeholder="请输入，运输主要危险类别" class="layui-textarea">{{ item.yunshuzhu.yunshuzhu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输次要危险类别</label>
                            <div class="layui-input-block">
                                <textarea name="yunshuci" placeholder="请输入，运输次要危险类别" class="layui-textarea">{{ item.yunshuci.yunshuci || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">包装类别</label>
                            <div class="layui-input-block">
                                <textarea name="baozhuanglei" placeholder="请输入，包装类别" class="layui-textarea">{{ item.baozhuanglei.baozhuanglei || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="yunshuxin">确认修改</button>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
                <script id="yunshuxin-tpl" type="text/html">
                    <form class="layui-form layui-form-pane">
                        {{# layui.each(d.list,function(index, item){ }}
                        {{# if(item.ysbqD.imgs.length ===0){ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输标签和标记</label>
                            <div class="layui-input-block">
                                <input type="text" name="yunshubiao" value="无要求" class="layui-input" disabled>
                            </div>
                        </div>
                        {{# }else{ }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输标签和标记</label>
                            <div class="layui-input-block">
                                <input type="hidden" name="yunshubiao" value="运输标识" class="layui-input" disabled>
                                {{# item.ysbqD.imgs.forEach(function(msg,index){ }}
                                <img src="/static{{ msg }}" alt="图片"  height="92" width="96">
                                {{# }); }}
                            </div>
                        </div>
                        {{# }; }}
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">海洋污染物</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.haiyangwu.haiyangwu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">联合国危险货物编号(UN No.)</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.bianhao.bianhao || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">联合国正确运输名称</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.name.name || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输主要危险类别</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.yunshuzhu.yunshuzhu || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">运输次要危险类别</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.yunshuci.yunshuci || '无资料' }}</textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">包装类别</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea" disabled>{{ item.baozhuanglei.baozhuanglei || '无资料' }}</textarea>
                            </div>
                        </div>
                        {{# }); }}
                        {{#  if(d.list.length === 0){ }}
                        {{#  } }}
                    </form>
                </script>
            </div>
            <div class="page-style" id="faguixin-content">
                <h1>
                    <div class="layui-btn-group custom-btn">
                        <button type="button" class="layui-btn layui-btn-normal btn-title" title="标题">
                            法规信息
                        </button>
                        <button type="button" class="layui-btn faguixinEdit">
                            <i class="layui-icon layui-icon-add-circle"></i> 修改
                        </button>
                    </div>
                </h1>
                <div id="faguixin-view"></div>
                <div id="faguixin-add-view" style="display: none;padding: 10px"></div>
                <script type="text/html" id="faguixin-add">
                    <form class="layui-form" lay-filter="faguixin">
                        {{# layui.each(d.list,function(index, item){ }}
                        <table class="layui-table">
                            <thead>
                            <tr>
                                <th>组分</th>
                                {{# item.fagui.forEach(function(item, index){ }}
                                <th>{{ item }}</th>
                                {{# }); }}
                            </tr>
                            </thead>
                            <tbody id="faguixin-tbody">
                            {{# item.zufen.forEach(function(msg,index){ }}
                            <tr>
                                <td>{{ msg }}</td>
                                {{# if(item.zufenD){ }}
                                {{# if(item.zufenD[index].length>0){ }}
                                {{# item.zufenD[index].forEach(function(msg,i){ }}
                                <td>
                                    <input type="text" value="{{ msg }}" name="zufen{{ index }}[]" autocomplete="off" class="layui-input">
                                </td>
                                {{# }); }}
                                {{# }else{ }}
                                {{# item.fagui.forEach(function(msg,i){ }}
                                <td>
                                    <input type="text" name="zufen{{ index }}[]" autocomplete="off" class="layui-input">
                                </td>
                                {{# }); }}
                                {{# }; }}
                                {{# }else{ }}
                                {{# item.fagui.forEach(function(item, i){ }}
                                <td>
                                    <input type="text" name="zufen{{ index }}[]" autocomplete="off" class="layui-input">
                                </td>
                                {{# }); }}
                                {{# }; }}
                            </tr>
                            {{# }); }}
                            </tbody>
                        </table>
                        <div class="layui-form-item">
                            {{# item.fagui.forEach(function(msg,index){ }}
                            <div><span>【{{ msg }}】{{ item.faguiD[index] }}</span></div>
                            {{# }); }}
                        </div>

                        <!--中国法规-->
                        <div style="margin-top: 50px">
                            {{# layui.each(d.list,function(index, item){ }}
                            <table class="layui-table">
                                <thead>
                                <tr>
                                    <th>组分</th>
                                    {{# item.faguiC.forEach(function(item, index){ }}
                                    <th>{{ item }}</th>
                                    {{# }); }}
                                </tr>
                                </thead>
                                <tbody id="faguixin-tbody-China">
                                {{# item.zufen.forEach(function(msg,index){ }}
                                <tr>
                                    <td>{{ msg }}</td>
                                    {{# if(item.zufenCD){ }}
                                    {{# if(item.zufenCD[index].length>0){ }}
                                    {{# item.zufenCD[index].forEach(function(msg,i){ }}
                                    <td>
                                        <input type="text" value="{{ msg }}" name="zufenC{{ index }}[]" autocomplete="off" class="layui-input">
                                    </td>
                                    {{# }); }}
                                    {{# }else{ }}
                                    {{# item.faguiC.forEach(function(msg,i){ }}
                                    <td>
                                        <input type="text" name="zufenC{{ index }}[]" autocomplete="off" class="layui-input">
                                    </td>
                                    {{# }); }}
                                    {{# }; }}
                                    {{# }else{ }}
                                    {{# item.faguiC.forEach(function(msg,i){ }}
                                    <td>
                                        <input type="text" name="zufenC{{ index }}[]" autocomplete="off" class="layui-input">
                                    </td>
                                    {{# }); }}
                                    {{# }; }}
                                </tr>
                                {{# }); }}
                                </tbody>
                            </table>
                            <div class="layui-form-item">
                                {{# item.faguiC.forEach(function(msg,index){ }}
                                <div><span>【{{ msg }}】{{ item.faguiCD[index] }}</span></div>
                                {{# }); }}
                            </div>
                            {{# }); }}
                        </div>
                        <div class="layui-form-item" style="margin: 10px 200px">
                            <div class="layui-input-block">
                                <button type="button" class="layui-btn" lay-submit lay-filter="faguixin">立即修改</button>
                            </div>
                        </div>
                        {{# }); }}
                    </form>
                    <div style="color: red">
                        <h4>注</h4>
                        <div>"是" 表示该物质列入法规</div>
                        <div>"否" 表示暂无资料或未列入法规</div>
                    </div>
                </script>
                <script type="text/html" id="faguixin-tpl">
                    <form class="layui-form" lay-filter="faguixin">
                        {{# layui.each(d.list,function(index, item){ }}
                        <table class="layui-table">
                            <thead>
                            <tr height="40px">
                                <th>组分</th>
                                {{# item.fagui.forEach(function(item, index){ }}
                                <th>{{ item }}</th>
                                {{# }); }}
                            </tr>
                            </thead>
                            <tbody>
                            {{# item.zufen.forEach(function(msg,index){ }}
                            <tr>
                                <td class="titel" style="text-align: center">{{ msg }}</td>
                                {{# if(item.zufenD[index].length>0){ }}
                                {{# item.zufenD[index].forEach(function(msg,index){ }}
                                {{# if(msg === "是"){ }}
                                <td class="titel" style="text-align: center">√</td>
                                {{# }else{ }}
                                <td class="titel" style="text-align: center;color: red">×</td>
                                {{# }; }}
                                {{# }); }}
                                {{# }else{ }}
                                {{# item.fagui.forEach(function(item, index){ }}
                                <td></td>
                                {{# }); }}
                                {{# }; }}
                            </tr>
                            {{# }); }}
                            </tbody>
                        </table>
                        <div class="layui-form-item">
                            {{# item.fagui.forEach(function(msg,index){ }}
                            <div><span>【{{ msg }}】{{ item.faguiD[index] }}</span></div>
                            {{# }); }}
                        </div>


                        <!--中国法规-->
                        <table class="layui-table">
                            <thead>
                            <tr height="40px">
                                <th>组分</th>
                                {{# item.faguiC.forEach(function(item, index){ }}
                                <th>{{ item }}</th>
                                {{# }); }}
                            </tr>
                            </thead>
                            <tbody>
                            {{# item.zufen.forEach(function(msg,index){ }}
                            <tr>
                                <td class="titel" style="text-align: center">{{ msg }}</td>
                                {{# if(item.zufenCD[index].length>0){ }}
                                {{# item.zufenCD[index].forEach(function(msg,index){ }}
                                {{# if(msg === "是"){ }}
                                <td class="titel" style="text-align: center">√</td>
                                {{# }else{ }}
                                <td class="titel" style="text-align: center;color: red">×</td>
                                {{# }; }}
                                {{# }); }}
                                {{# }else{ }}
                                {{# item.faguiC.forEach(function(item, index){ }}
                                <td></td>
                                {{# }); }}
                                {{# }; }}
                            </tr>
                            {{# }); }}
                            </tbody>
                        </table>
                        <div class="layui-form-item">
                            {{# item.faguiC.forEach(function(msg,index){ }}
                            <div><span>【{{ msg }}】{{ item.faguiCD[index] }}</span></div>
                            {{# }); }}
                        </div>
                        {{# }); }}
                    </form>
                    <div>
                        <h4>注</h4>
                        <div>"√" 表示该物质列入法规</div>
                        <div>"×" 表示暂无资料或未列入法规</div>
                    </div>
                </script>
            </div>
        </div>
    </div>
</div>
<script>
    layui.config({
        base: '/static/js/'
    }).use(['dasisEdit', 'customTips']);
</script>
</body>
</html>